package com.yuyu.bean;

import java.lang.reflect.Method;

/**
 * 封装RequestMapping信息
 * author:yuyu
 * Date:2018/10/20
 * Time:0:35
 */
public class Handler {


    private Class<?> controllerClass;

    private Method requestMethod;

    public Handler(Class<?> controllerClass, Method requestMethod) {
        this.controllerClass = controllerClass;
        this.requestMethod = requestMethod;
    }

    public Class<?> getControllerClass() {
        return controllerClass;
    }

    public Method getRequestMethod() {
        return requestMethod;
    }
}
